App({
  globalData: {
    systemInfo: null,
    microName: "playlet",
    innerWifi: true,
    apiLoggedOut: [],
    cptLoggedOut: [],
    runtimeErrorList: [],
    autoCaseResult: [],
    cptCase: {},
    pluginData: {},
    hostLogin: true,
    accessToken: "",
    env: "prod",
  },

  appMode: {
    industryMode: true,
  },

  setGlobalData(key, value) {
    this.globalData[key] = value;
  },

  onLaunch(options) {
    this.globalData.systemInfo = tt.getSystemInfoSync();
    const Hasbindgetsource = tt.canIUse("video-player.bindgetsource");
    this.setGlobalData("Hasbindgetsource", Hasbindgetsource);
  },

  onError(option) {},
});
